.setting {
  font-size: 12px;
  color: var(--sa-font);

  & * {
    font-size: inherit;
  }

  .tab {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 16px 20px;

    .tab-wrap {
      width: 100%;
      border-radius: 4px;
      border: 1px solid var(--sa-border);

      & > div {
        width: 50%;
        height: 32px;
        line-height: 32px;
        text-align: center;
        border-right: 1px solid var(--sa-border);
        background: var(--sa-border);
        border-radius: 4px 0 0 4px;
        cursor: pointer;

        &.is-active {
          background: var(--sa-background-assist);
        }

        &:last-of-type {
          border-right: none;
          border-radius: 0 4px 4px 0;
        }
      }
    }
  }

  .card {
    .title {
      height: 40px;
      line-height: 40px;
      background: var(--sa-table-header-bg);
      margin-bottom: 16px;
      padding: 0 20px;
      font-size: 14px;
      color: var(--sa-subtitle);
      display: flex;
      align-items: center;

      .warning {
        font-size: 12px;
        color: #faad14;
        margin-left: 8px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
    }
    .tip {
      height: 14px;
      line-height: 14px;
      font-size: 12px;
      color: #999999;
      margin-left: 4px;
    }
    .content {
      .popover-tip {
        font-size: 14px;
        margin-left: 8px;
        color: #faad14;
        transform: rotate(180deg);
      }

      .add-button {
        width: fit-content;
        margin: 16px 20px;
        border-style: dashed;
      }
      @media screen and (max-width: 992px) {
        padding-left: 20px;
        .add-button {
          margin: 16px 20px 16px 0;
        }
      }
    }

    .card-item {
      width: 44px;
      height: 44px;

      .image-overlay {
        width: 44px;
        height: 44px;
      }
    }

    .el-form-item {
      margin-bottom: 16px;

      .el-form-item__content {
        padding-right: 20px;

        & > * {
          width: 100%;
        }
      }
    }

    .el-radio__label {
      display: flex;
      align-items: center;
    }

    .el-input-group__append,
    .el-input-group__prepend {
      padding: 0 12px;
    }
  }

  .custom-radio-button {
    .el-radio-button {
      .el-radio-button__inner {
        padding: 1px 6px;

        .sa-icon {
          width: 24px !important;
          height: 24px !important;
          color: var(--sa-font);
        }
      }

      &.is-active {
        .sa-icon {
          color: #fdfdfd !important;
        }
      }
    }
  }
}

.el-popover.el-popper {
  &.title-popover {
    font-size: 12px;
    line-height: 1.7;
  }
}
